package com.tencreat.domain.account.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.tencreat.common.annotation.Excel;
import com.tencreat.common.enums.OrderStatus;
import com.tencreat.common.enums.PayType;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDateTime;

/**
 * @author huang wei
 * @version 1.0
 * @date 2021/12/27 14:03
 */
@Data
public class AccountRechargeRecordVo implements Serializable {

    @ApiModelProperty(value = "金额")
    private BigDecimal amount;

    @ApiModelProperty(value = "支付方式")
    private PayType rechargeType;

    @JsonFormat(shape = JsonFormat.Shape.STRING,pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime createTime;

    @Excel(name = "充值(提现)订单状态")
    @ApiModelProperty(value = "充值(提现)订单状态")
    private OrderStatus orderStatus;
}
